<template>
	<view class="p-15 static">
		<view class="fixed h-screen w-screen" style="z-index: -100; background: linear-gradient(to bottom, white 0%, #4BBDFF 100%); top: 0; left:0"></view>
		<view class="flex flex-row align-items-center border-1 rounded-base bg-white p-10 mt-10" style="border-color: #BBB;" @tap="navigateTo('/pages/task/list')">
			<view style="width: 120rpx; height: 120rpx;">
				<image class="w-full h-full" src="/static/publish.png"></image>
			</view>
			<view class="text-bold text-18 ml-10">订单发布</view>
		</view>
		<view class="flex flex-row align-items-center border-1 rounded-base bg-white p-10 mt-15" style="border-color: #BBB;" @tap="navigateTo('/pages/task/list2')">
			<view style="width: 120rpx; height: 120rpx;">
				<image class="w-full h-full" src="/static/manage.png"></image>
			</view>
			<view class="text-bold text-18 ml-10">订单管理</view>
		</view>
	</view>
</template>

<script>
	import {login} from '@/utils/login.js';
	export default {
		data() {
			return {
			}
		},
		onLoad() {
			login();
		},
		onReachBottom() {
			
		},
		onShareAppMessage() {
			return {
			  title: '飞兔企业版',
			  path: '/pages/task/index',
			  // imageUrl : ''
			}
		},
		onShareTimeline() {
			return {
			  title: '飞兔企业版',
			  // query: '',
			  // imageUrl : ''
			}
		},
		methods: {
			navigateTo($url){
				uni.navigateTo({
					'url': $url
				})
			}
		}
	}
</script>

<style>
</style>
